package com.yuanfeng.userms.feign;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mall-payment", url = "http://localhost:8086")
public interface PaymentServiceClient {


    /**
     * 创建用户
     *
     * @param userId
     * @return
     */
    @GetMapping("/pay/userBase/createUser")
    ResponseResult createUser(@RequestParam("userId") String userId);

}
